﻿@model CSharpDay12__Many_to_Many_.Models.Ship
<br />

<h1 class="text-center page-header">Add Ship</h1>
<div class="container">
    <form method="post" class="well-lg col-sm-8">
        @Html.LabelFor(x => x.Name) <br />
        @Html.TextBoxFor(x => x.Name, new {@class = "form-control" }) <br />
        @Html.LabelFor(x => x.BaseWeight) <br />
        @Html.TextBoxFor(x => x.BaseWeight, new { @class = "form-control" }) <br />
        @Html.LabelFor(x => x.GrossTonnage) <br />
        @Html.TextBoxFor(x => x.GrossTonnage, new { @class = "form-control" }) <br />
        @Html.LabelFor(x => x.IsAtSea) <br />
        <select class="form-control" name="IsAtSea"><option value="true">Underway</option><option value="false">In Port</option></select>
        
        @Html.LabelFor(x => x.CanalSize) <br />
        @Html.EnumDropDownListFor(x => x.CanalSize, new { @class = "form-control" }) <br />
        <button type="submit" class="btn-success">Submit</button>
    </form>
</div>
   

<h2>AddShip</h2>

